package com.taiyuan.tongcheng.webservice;

import android.content.Intent;

/**
 * 
 * @Description Webservice
 * @author wzq
 * @date 2015-7-23 下午7:26:13
 * @update (date)
 * @version V1.0
 */

public class Webservice {

	/**
	 * 
	 * @Description Webservice API名称
	 * @author wzq
	 * @date 2015-7-23 下午7:26:31
	 * @update (date)
	 * @version V1.0
	 */

	public class API {

		public static final String LOGIN_CHECK = "login_check";
	}

	/**
	 * 
	 * @Description 返回json状态码
	 * @author wzq
	 * @date 2015-7-23 下午7:28:40
	 * @update (date)
	 * @version V1.0
	 */
	public class Code {
		public static final int SUCESS = 1;
		public static final int FAIL = 0;
		public static final int NO_API = 4;
		public static final int DB_ERROR = 3;
	}

	/**
	 * 
	 * @Description 返回
	 * @author wzq
	 * @date 2015-7-23 下午7:26:58
	 * @update (date)
	 * @version V1.0
	 */
	public class ResCode {
		public static final String ERROR = "error";
	}

	/**
	 * 
	 * @Description 数据更新广播
	 * @author wzq
	 * @date 2015-7-23 下午7:29:43
	 * @update (date)
	 * @version V1.0
	 */
	public class Action {
        // 登录成功
		public static final String LOGIN_SUCCESS = "TCPS.LOGIN.SUCCESS";

	}

}
